package com.style.core;


import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;

/**
 * 被观察者
 * 如果做过Swing开发的话，有一种似曾相识的感觉
 * Created by Tom on 2018/3/17.
 */
public class Mouse implements IMouse {

    public void click(){
        System.out.println("鼠标单击");
    }


    public void doubleClick(){
        System.out.println("鼠标双击");
    }

    public void up(){
        System.out.println("鼠标弹起");
    }

    public void down(){
        System.out.println("鼠标按下");
    }


    public void wheel(){
        System.out.println("鼠标滚动");
    }

    public void move(){
        System.out.println("鼠标移动");
    }

    public void over(){
        System.out.println("鼠标悬停");
    }

}
